package com.bingxue.edu.management.auth.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author panbo
 * @since 2024/7/24
 */
@Data
@Schema(description = "员工认证信息")
public class AuthEmployee {

    @Schema(description = "资源编码列表")
    private List<String> resourceCodeList;

    @Schema(description = "角色列表")
    private List<String> roleIdList;

    @Schema(description = "认证token")
    private String token;

    @Schema(description = "登录ip")
    private String loginIp;

    @Schema(description = "登录地址")
    private String loginAddress;

    @Schema(description = "浏览器")
    private String loginBrowser;

    @Schema(description = "浏览器")
    private String loginOs;

    @Schema(description = "登录时间")
    private LocalDateTime loginTime;

    @Schema(description = "员工信息")
    private EmployeeInfo userInfo;
}
